Layer Definition Schema
DECORATIONSYMBOL Element
See Also  Send comments on this topic.
Layer Definition Schema : DECORATIONSYMBOL Element

Glossary Item Box

Description

Used to define a line decoration in a complex line symbol.

Diagram

TRUETYPEMARKERSYMBOL Element SIMPLEMARKERSYMBOL Element RASTERMARKERSYMBOL Element GROUPSYMBOL Element Sequence DECORATIONSYMBOL Element

Overview

DECORATIONSYMBOL
Used to define a line decoration in a complex line symbol.
flipall optional Restriction of xs:string
Flag that determines if all decoration marker symbols are flipped 180 degrees.
flipfirst optional Restriction of xs:string
Flag that determines if the first decoration marker symbol is flipped 180 degrees.
postions optional Restriction of xs:int
The number of decoration marker symbols.
rotate optional Restriction of xs:string
Flag that determines if decoration marker symbols are rotated to follow the line.
Sequence
GROUPSYMBOL
Used to symbolize features with multiple symbols acting as a single symbol (e.g., a freeway line symbol consists of a group of 3 line symbols).
RASTERMARKERSYMBOL
Symbolizes point features using the specified raster image.
SIMPLEMARKERSYMBOL
Used to symbolize point features using one of the predefined symbol types: circle, square, cross, triangle, star, X, or diamond.
TRUETYPEMARKERSYMBOL
Used to symbolize point features using TrueType symbols.

Attributes

NameTypeUseDefaultFixedDescription
flipallRestriction of xs:stringoptionalfalse Flag that determines if all decoration marker symbols are flipped 180 degrees.
flipfirstRestriction of xs:stringoptionaltrue Flag that determines if the first decoration marker symbol is flipped 180 degrees.
postionsRestriction of xs:intoptional1 The number of decoration marker symbols.
rotateRestriction of xs:stringoptionalfalse Flag that determines if decoration marker symbols are rotated to follow the line.

Examples

Restrictions

One marker symbol child element is required with DECORATIONSYMBOL (SIMPLEMARKERSYMBOL, TRUETYPEMARKERSYMBOL, RASTERMARKERSYMBOL, or GROUPSYMBOL).

Source

<xs:element name="DECORATIONSYMBOL" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>Used to define a line decoration in a complex line symbol.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="GROUPSYMBOL" />
      <xs:element ref="RASTERMARKERSYMBOL" />
      <xs:element ref="SIMPLEMARKERSYMBOL" />
      <xs:element ref="TRUETYPEMARKERSYMBOL" />
    </xs:sequence>
    <xs:attribute default="false" name="flipall">
      <xs:annotation>
        <xs:documentation>Flag that determines if all decoration marker symbols are flipped 180 degrees.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="true" />
          <xs:enumeration value="false" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute default="true" name="flipfirst">
      <xs:annotation>
        <xs:documentation>Flag that determines if the first decoration marker symbol is flipped 180 degrees.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="true" />
          <xs:enumeration value="false" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute default="1" name="postions">
      <xs:annotation>
        <xs:documentation>The number of decoration marker symbols.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:int">
          <xs:minInclusive value="1" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute default="false" name="rotate">
      <xs:annotation>
        <xs:documentation>Flag that determines if decoration marker symbols are rotated to follow the line.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="true" />
          <xs:enumeration value="false" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
</xs:element>

See Also

© 2013 All Rights Reserved.